package com.imagewq.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

// RESTAPI的方式
@RestController
public class HelloWorldController {
    @RequestMapping("")
    public String hello(){
        return "Hello World by WQ!";
    }
}